﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Wq.ManagerService.Models
{
    public enum Privilege
    {
        [Menu("概览", "home", Icon = "icon-dashboard", Permission = true)]
        [Permission(PrivilegeType.View)]
        GeneralView = 10000,

        [Menu("会场", "site", Icon = "icon-shop")]
        [Menu("会场", "会场管理", "meeting", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        SiteList = 20000,

        [Menu("会场", "特色管理", "features", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        SiteTag = 20001,

        [Menu("会场", "分类管理", "category", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        SiteCategory = 20002,

        [Menu("会场", "设施管理", "facilitie", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        SiteConfig = 20003,

        [Menu("会场", "品牌管理", "brand", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        SiteBrand = 20004,

        [Menu("实列", "case", Icon = "icon-shop")]
        [Menu("实列", "实列管理", "example", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        ExampleList = 30000,

        [Menu("实列", "分类管理", "category", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        ExampleCategory = 30001,

        [Menu("实列", "行业管理", "industry", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        ExampleIndustry = 30002,

        [Menu("实列", "顾问管理", "adviser", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        ExampleAdviser = 30003,

        [Menu("实列", "需求类型", "activity", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        ExampleActivity = 30004,

        [Menu("设置", "setting", Icon = "icon-Setting")]
        [Menu("设置", "角色设置", "role", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        RoleSetting = 40000,

        [Menu("设置",  "管理员", "manager", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        ManagerSetting = 40001,

        [Menu("设置",  "地区管理", "area", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        AreaSetting = 40002,

        [Menu("设置", "开通城市", "openCity", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        OpenCitySetting = 40003,

        [Menu("设置", "素材中心", "library", Permission = true)]
        [Permission(PrivilegeType.View, PrivilegeType.Add, PrivilegeType.Edit, PrivilegeType.Delete)]
        Library = 40004,

    }
}
